
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加班级-宿管系统</title>
    <link rel="stylesheet" href="../../css/basicLayout.css">

    <style>

        #classInForm{
            width: 500px;
            height: 500px;
            margin: 0 auto;
        }

        #classInForm form table{
            padding-top: 50px;
            line-height: 50px;
        }
    </style>
</head>
<body>

<!--    头部，用来放导航栏-->
<div id="header">
    <ul>
        <li><a href="${pageContext.request.contextPath}/student/index"> 学生管理</a></li>
        <li><a href="${pageContext.request.contextPath}/class/index"> 班级管理</a></li>
        <li><a href="${pageContext.request.contextPath}/room/index"> 房间管理</a></li>
    </ul>
</div>

<!--子导航栏区域-->
<div id="child">
    <label>班级管理功能</label>
    <ul>
        <li><a href="${pageContext.request.contextPath}/class/add/index">添加班级</a></li>
    </ul>
</div>

<!--主体内容区域-->
<div id="content">
    <!--学生入住表单-->
    <div id="classInForm">
        <form action="${pageContext.request.contextPath}/class/add/execute" method="post">
            <table>
                <tr>
                    <td>班级名称：</td>
                    <td><input type="text" id="className" name="className" value=""></td>
                </tr>
                <tr>
                    <td>开班时间：</td>
                    <td><input type="date" id="openTime" name="openTime" value=""></td>
                </tr>

                <tr>
                    <td>带班老师：</td>
                    <td><input type="text" id="teacher" name="teacher" value=""></td>
                </tr>
                <tr>
                    <td><input type="submit" value="添加"></td>
                    <td><input type="reset" value="重置"></td>
                </tr>
            </table>
        </form>
    </div>
</div>

<!--页脚内容区域-->
<div id="footer">页脚</div>
</body>
</html>
